//
//  LYFViewController.swift
//  weibohhhh
//
//  Created by fersh on 16/1/4.
//  Copyright © 2016年 fersh. All rights reserved.
//

import UIKit

class LYFViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(titel: "push", target: self, action: "pushVC")
    }
    
    @objc private func  pushVC (){
        
        //print("push了一个viewController")
        let  vc = LYFViewController()
        navigationController?.pushViewController(vc, animated: true)
    }
}
